package com.yuantu.judiciary.model.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 创建订单信息（支付宝小程序）
 *
 * @author syw
 * @since 2023-12-28
 **/
@Data
@ApiModel("创建会员卡订单信息(支付宝小程序)")
public class AddOrderForMembershipCardForm {

    @NotBlank(message = "授权码不能为空")
    @ApiModelProperty("授权码")
    private String authCode;

    @NotNull(message = "会员卡id不能为空")
    @ApiModelProperty("会员卡id")
    private Long membershipCardId;



}
